//
//  CJShadowMovieModel.m
//  KaiJing
//
//  Created by lanou on 16/1/15.
//  Copyright © 2016年 HuangZuCui. All rights reserved.
//

#import "CJShadowMovieModel.h"

@implementation CJShadowMovieModel


-(void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}

- (void)setValue:(id)value forKey:(NSString *)key {
    
    [super setValue:value forKey:key];
    
    if ([key isEqualToString:@"list"]) {
        
        self.list = [NSMutableArray array];
    
        for (NSDictionary *dic in value) {
            
            CJShadowMovieListModel *model = [[CJShadowMovieListModel alloc] init];
            [model setValuesForKeysWithDictionary:dic];
            
            [self.list addObject:model];
        }
        
        
    }
 
}



@end
